<?php
include("../controllers/read.php");
$db = openDB("../database.sqlite");
$config = getConfig($db);
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
 <ShortName><?php echo $config['name'] ?></ShortName>
 <Description><?php echo $config['tagline'] ?></Description>
 <Url type="text/html" template="<?php echo $config['url'] ?>?show={searchTerms}"/>
</OpenSearchDescription>

